package com.springsecurity.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Collection;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

  private Integer uid;
  private String username;
  private String password;
  private Collection<Role> roles;
}
